// GeometryObjectGenerator.h: interface for the GeometryObjectGenerator class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_GEOMETRYOBJECTGENERATOR_H__B38C42C4_AB1A_459D_988A_36B1C42D879C__INCLUDED_)
#define AFX_GEOMETRYOBJECTGENERATOR_H__B38C42C4_AB1A_459D_988A_36B1C42D879C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "ModelVisitor.h"

class GeometryObjectGenerator : public ModelVisitor  
{
public:
	GeometryObjectGenerator();
	virtual ~GeometryObjectGenerator();

public:
	virtual BOOL Visit(SupportHanger& part);
	virtual BOOL Visit(Part& part);
	virtual BOOL Visit(Joint& joint){ASSERT(FALSE);return FALSE;}

private:
	AcDbHandle NewPipeEntity(Part& part);
	AcDbHandle NewPartEntity(Part& part);
};

#endif // !defined(AFX_GEOMETRYOBJECTGENERATOR_H__B38C42C4_AB1A_459D_988A_36B1C42D879C__INCLUDED_)
